package com.payment.mapper;

import com.payment.entity.common.PartnerAccessRequestRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface PartnerAccessRequestRecordMapper {

    public int findAccessByCode(@Param("token") String token, @Param("partnerCode") String partnerCode, @Param("deviceCode") String deviceId, @Param("deviceType") String deviceType, @Param("requestOrderId") String requestOrderId);

    public void putInPartnerAccessInfo(PartnerAccessRequestRecord access);

    public List<PartnerAccessRequestRecord> queryURL(@Param("requestOrderId") String requestOrderId, @Param("deviceCode") String deviceId);
}
